package com.cqyc.shop.comm;

public class commException extends RuntimeException{
	private static final long serialVersionUID = -7559376204063845083L;
	
	public commException(String message) {
		this.message = message;
	}
	
	public commException() {
	}
	
	public commException(String message, String code) {
		this.message = message;
		this.code = code;
	}
	private String message;//捕获异常信息
	private String code;
	


	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	
}
